#include <stdio.h>
int main ()
{
	FILE *pfile;
	char buf[50];
	char string[1000];
	gets(buf);
	pfile=fopen(buf,"r");
	if(pfile==NULL)
	    printf("Fail to find the file");
	else
	    while(fgets(string,1000,pfile)!=NULL)
	        printf("%s",string);    
}
